﻿
@{
    ViewBag.Title = "Register";
    Layout = "~/Views/Shared/_LayoutPublic.cshtml";
}
<link href="../../Styles/UserStyle.css" rel="stylesheet" type="text/css" />
<script src="../../Scripts/jquery.validate.min.js" type="text/javascript"></script>
<link href="../../Content/themes/base/jquery.ui.all.css" rel="stylesheet" type="text/css" />
<link href="../../Content/themes/jquery.ui.datepicker.css" rel="stylesheet" type="text/css" />
<script src="../../Scripts/jquery.ui.datepicker.js" type="text/javascript"></script>
<script src="../../Scripts/jquery.ui.core.js" type="text/javascript"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $("#frm-register").validate();
    });     
  </script>
  <script type="text/javascript">
        $(document).ready(function () {
            $('#birthday').datepicker({ dateFormat: "dd/mm/yy", changeMonth:true, changeYear:true, yearRange:"1920:2010" });
    });
    </script>
<h2 style="text-align:center; color:#990000; padding:10px;">Đăng Ký Tài Khoản</h2>
<form id="frm-register" action="" method="post">
    <div id="frmcontent">
        <h4 class="title">Thông tin tài khoản</h4>
        <ul class="wrap-ul-content">
        <li><label for="username">Tên đăng nhập*</label></li>
        <li><input type="text" id="username" name="username" class="required" />@*<span class="note"><label for="cusername"></label></span>*@</li>      
        <li>Mật khẩu*</li>
        <li><input type="password" name="password" class="required" /></li>
        <li>Xác nhận mật khẩu*</li>
        <li><input type="password" name="repassword" class="required" /></li>
    </ul>
        <h4 class="title">Thông tin cá nhân</h4>
        <ul class="wrap-ul-content">
        <li>Tên</li>
        <li><input type="text" name="firstname"  /></li>
        <li>Họ</li>
        <li><input type="text" name="lastname"  /></li>
        <li>Ngày, tháng, năm sinh</li>
        <li><input type="text" id="birthday" name="birthday" /></li>
        <li>Email</li>
        <li><input type="text" name="email" class="email" /></li>
        <li>Địa chỉ</li>
        <li><input type="text" name="address"  /></li>
        <li>Số điện thoại</li>
        <li><input type="text" name="phone"  /></li>
    </ul>
        <h4 class="title">Mã xác nhận</h4>
        <ul class="wrap-ul-content capcha" >
            <li>
                Nhập mã xác nhận: @Html.TextBox("capcha_input")                                   
            </li>            
            <li>
                @*<img src="@ViewBag.capcha" id="img_capcha" alt="Mã xác nhận" />*@
            </li>
        </ul>
    </div>
    <div id="button-frm">
        <ul>
            <li><input type="submit" value="Đăng Ký" class="button submit" /></li>
            <li><input type="reset" value="Nhập Lại" class="button" /></li>
        </ul>
    </div>    
</form>
